package com.jaws.demo.service;

import com.jaws.demo.domain.AccountTrade;

import java.util.List;

/**
 * 账户交易接口
 *
 * @author maojian
 * @date 2017-05-25 08:45:26
 * @since v1.0.0
 */
public interface AccountTradeService {

	/**
	 * 账户总资金变更
	 *
	 * @param req ''
	 * @throws Exception
	 * @author maojian
	 * @date 2017-05-25 08:45:24
	 * @since v1.0.0
	 */
	void trade(AccountTrade req) throws Exception;


	/**
	 * 批量账户操作
	 *
	 * @param req ''
	 * @throws Exception
	 * @author maojian
	 * @date 2017-05-25 08:46:15
	 * @since v1.0.0
	 */
	void batchTrade(@SuppressWarnings("rawtypes") List<AccountTrade> req) throws Exception;


}
